<template>
	<view class="content">
		<!-- <h1 class="user_tit">用户协议</h1> -->
		<view class="user_info">
			<view v-html="content"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
	          content:''
			};
		},
		onLoad(){
			var that=this;
			that.ajax({
				url:'api/article/getArticleDetail',
				data:{article_id:2},
				success:function(res){
					that.content=res.data.content;
					console.log(that.content)
				}
			  })
		},
	}
</script>

<style lang="less" scoped>
	.content {
		overflow: hidden;
		font-size: 30rpx;
	}

	.user_tit {
		margin-top: 28rpx;
		text-align: center;
		font-size: 34rpx;
		color: #333;
	}

	.user_info {
		line-height: 48rpx;
		margin: 46rpx;
		text {
			display: block;
			text-indent: 4em;
			font-size: 30rpx;
			color: #666;
		}
		.info_item {
			margin-top: 10rpx;
			& text:first-child {
				display: block;
				text-indent: 0em;
				color: #333;
			}
		}
	}
</style>
